package Decorator.DecoratorPatternDemo;

public class DecoratorPatternDemo {
    public static void main(String[] args) {
        Shape shape1 = new RedShapeDecorator(new Circle());
        Shape shape = new RedShapeDecorator(new Rectangle());
        shape.draw();
        System.out.println("---------------------");
        shape1.draw();
    }
}
